import { axios } from "../../utils/request";

const api = {
    UserSearchDetail: "/crm/userSearch/detail",
    UserSearchSave: "/crm/userSearch/save",
    UserSearchDelete:"/crm/userSearch/delete",
   
};
/**
 * 查询用户常用查询记录
 * @param {*} parameter 
 */
export function UserSearchDetail(parameter) {
    return axios({
      url: api.UserSearchDetail,
      method: "get",
      params: parameter
    });
  }

/**
 * 新增/修改 用户常用查询
 * @param {*} data
 */
export function UserSearchSave(data) {
  return axios({
    url: api.UserSearchSave,
    method: "post",
    data: data
  });
}


/**
 * 删除 用户常用查询
 */
export function UserSearchDelete(id) {
    return axios({
      url: api.UserSearchDelete,
      method: "DELETE",
      params: id
    });
  }


